package com.ruoyi.system.domain;

import org.apache.commons.lang3.builder.ToStringBuilder;
import org.apache.commons.lang3.builder.ToStringStyle;
import com.ruoyi.common.annotation.Excel;
import com.ruoyi.common.core.domain.BaseEntity;

/**
 * 文档对象 b_doc
 * 
 * @author tq
 * @date 2025-04-19
 */
public class Doc extends BaseEntity
{
    private static final long serialVersionUID = 1L;

    /** id */
    private Long docId;

    /** 组卷类别 */
    @Excel(name = "组卷类别")
    private Long typeId;

    /** 管理单位 */
    @Excel(name = "管理单位")
    private Long unitId;

    /** 文档类型 */
    @Excel(name = "文档类型", dictType = "doc_type")
    private String docType;

    /** 文档名称 */
    @Excel(name = "文档名称")
    private String name;

    /** 文档位置 */
    @Excel(name = "文档位置")
    private String loc;

    /** 文档链接 */
    private String url;

    /** 删除标志（0代表存在 2代表删除） */
    private String delFlag;

    public void setDocId(Long docId) 
    {
        this.docId = docId;
    }

    public Long getDocId() 
    {
        return docId;
    }

    public void setTypeId(Long typeId) 
    {
        this.typeId = typeId;
    }

    public Long getTypeId() 
    {
        return typeId;
    }

    public void setUnitId(Long unitId) 
    {
        this.unitId = unitId;
    }

    public Long getUnitId() 
    {
        return unitId;
    }

    public void setDocType(String docType) 
    {
        this.docType = docType;
    }

    public String getDocType() 
    {
        return docType;
    }

    public void setName(String name) 
    {
        this.name = name;
    }

    public String getName() 
    {
        return name;
    }

    public void setLoc(String loc) 
    {
        this.loc = loc;
    }

    public String getLoc() 
    {
        return loc;
    }

    public void setUrl(String url) 
    {
        this.url = url;
    }

    public String getUrl() 
    {
        return url;
    }

    public void setDelFlag(String delFlag) 
    {
        this.delFlag = delFlag;
    }

    public String getDelFlag() 
    {
        return delFlag;
    }

    @Override
    public String toString() {
        return new ToStringBuilder(this,ToStringStyle.MULTI_LINE_STYLE)
            .append("docId", getDocId())
            .append("typeId", getTypeId())
            .append("unitId", getUnitId())
            .append("docType", getDocType())
            .append("name", getName())
            .append("loc", getLoc())
            .append("url", getUrl())
            .append("delFlag", getDelFlag())
            .append("createBy", getCreateBy())
            .append("createTime", getCreateTime())
            .append("updateBy", getUpdateBy())
            .append("updateTime", getUpdateTime())
            .toString();
    }
}
